package com.frejoys.common.dto.common.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AuthGroupAddDto {

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "name", description = "角色名称", required = true, defaultValue = "市场组")
    private String name;

    // @NotBlank(message = "{600}")
    @Schema(type = "String", name = "rules", description = "权限,英文逗号拼接", required = false, defaultValue = "1")
    private String rules;


    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "pid", description = "父id", required = true, defaultValue = "0")
    private Integer pid;

//    @NotNull(message = "{600}")
//    @Schema(type = "Integer", name = "type", description = "类型：1平台，2商家，3代理", required = true, defaultValue = "1")
//    private Integer type;

    // @NotNull(message = "{600}")
//    @Schema(type = "Integer", name = "status", description = "状态：0无效，1有效", required = true, defaultValue = "1")
//    private Integer status;


}
